package com.food.entity.dto;

import lombok.Data;

import java.util.Date;

/**
 * 优惠券数据传输对象，用于接收前端请求参数或返回给前端的数据
 */
@Data
public class CouponDto {


    private String code;


    private Integer discount;


    private Date validFrom;


    private Date validTo;


    private Integer userId;


    private Integer page;


    private Integer size;
}